﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="MusicmanWeb.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">
    <div class="shim column"></div>
    <div class="page" id="register">
        <div id="sidebar">
            <div class="login">
                <h4>
                    Login to Site
                </h4>
                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" CssClass="label">Email address</asp:Label>
                <span style="color: #000000"> </span>
                <asp:TextBox ID="UserName" runat="server" AccessKey="u" CssClass="textbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                            ErrorMessage="User Name is required." ToolTip="User Name&#9;is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" CssClass="label">Password</asp:Label>
                <asp:TextBox ID="Password" runat="server" AccessKey="p" CssClass="textbox" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                            ToolTip="Password is&#9;required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                <div>
                    <a href="ForgotPassword.aspx">Forgot passwrod</a>
                </div>
                <div>
                    <asp:CheckBox runat="server" ID="rememberme" Text="remember me	next time" AutoPostBack="false" />
                </div>
                <asp:ImageButton ID="LoginButton" runat="server" AlternateText="login" CssClass="button"
                                 SkinID="login" OnClick="Login_Click" /> or 
                <a class="button" href="Register.aspx">
                    <asp:Image ID="Image1" runat="server" AlternateText="create a new account" SkinID="create" />
                </a>
                <p>
                   <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                </p>
            </div>
        </div>
        <div id="content" style="height: 400px;">
            <asp:Literal ID="MessageInfo" runat="server" EnableViewState="False"></asp:Literal>
        </div>
    </div>
</asp:Content>
